package com.mojo.config;

import com.mojo.BeanConfig;
import com.mojo.pojo.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * java配置类
 *
 * @author <a href="mailto:mojo_jj@163.com">Mojo</a>
 */
@Configuration
@Import(BeanConfig.class)
public class JavaConfig {
    @Bean
    public User user() {
        return new User();
    }
}
